import time

from tests.ForumList import ForumList
from tests.ForumLogin import ForumLogin
from tests.ForumPM import ForumPM
from tests.ForumRegister import ForumRegister
from tests.MyPost import PostInform
from tests.PersonalCentral import PersonalInform
from tests.PostDetail import PostDetail
from tests.PostEdit import PostEdit
from common.com import ForumDriver


if __name__ == '__main__':
    # 论坛注册页
    #ForumRegister().RegisterFailTest()
    #ForumRegister().RegisterSuTest()
    # 论坛登录页
    #ForumLogin().LoginFailTest()
    ForumLogin().LoginSuTest()
    time.sleep(5)
    # 论坛首页
    #ForumList().HomeTest()
    # 帖子详情页
    #PostDetail().PostDetailTest()
    #论坛帖子私信页
    ForumPM().PostDetailPM()
    #time.sleep(3)
    #ForumPM().ReplyPM()
    # 帖子发布页
    #PostEdit().PostRelease()
    #我的帖子页
    #PostInform().Pose()
    #个人中心页
    #PersonalInform().MyInform()

